package com.csq.androidproject.ui.activitys;

import android.app.Activity;
import android.os.Bundle;

import com.csq.androidproject.R;
import com.csq.androidproject.views.scrolllayout.MyInterceptHorizontalScrollView;
import com.csq.androidproject.views.scrolllayout.MyScrollLayout;

public class ScrollLayoutActivity extends Activity {
    
    MyScrollLayout scrollLayout;
    MyInterceptHorizontalScrollView MHScrollView;
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_scroll_layout);
        scrollLayout = (MyScrollLayout)findViewById(R.id.lyScroll);
        MHScrollView = (MyInterceptHorizontalScrollView)findViewById(R.id.mHScrollView);
        MHScrollView.setMyScrollLayout(scrollLayout);
        
        scrollLayout.setLoopable(true);
    }
    
}
